package com.powernode.model.entity.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.powernode.model.entity.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

@EqualsAndHashCode(callSuper = false)
@Data
@Schema(description = "OrderMonitor")
@TableName("order_monitor")
public class OrderMonitor extends BaseEntity {
    @Serial
    private static final long serialVersionUID = 1L;
    @Schema(description = "订单ID")
    @TableField("order_id")
    private Long orderId;
    @Schema(description = "文件个数")
    @TableField("file_num")
    private Integer fileNum;
    @Schema(description = "需要审核的个数")
    @TableField("audit_num")
    private Integer auditNum;
    @Schema(description = "是否报警")
    @TableField("is_alarm")
    private Integer isAlarm;
    @Schema(description = "状态")
    @TableField("status")
    private Integer status;
}